{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "following-toolbox",
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import json"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "grave-jackson",
   "metadata": {},
   "outputs": [],
   "source": [
    "with open(\"Datasets/fewrel_train_wiki.json\") as file:\n",
    "    train = json.load(file)\n",
    "\n",
    "with open(\"Datasets/fewrel_val_wiki.json\") as file:\n",
    "    val = json.load(file)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "banned-pittsburgh",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(64,\n",
       " 16,\n",
       " dict_keys(['P931', 'P4552', 'P140', 'P1923', 'P150', 'P6', 'P27', 'P449', 'P1435', 'P175', 'P1344', 'P39', 'P527', 'P740', 'P706', 'P84', 'P495', 'P123', 'P57', 'P22', 'P178', 'P241', 'P403', 'P1411', 'P135', 'P991', 'P156', 'P176', 'P31', 'P1877', 'P102', 'P1408', 'P159', 'P3373', 'P1303', 'P17', 'P106', 'P551', 'P937', 'P355', 'P710', 'P137', 'P674', 'P466', 'P136', 'P306', 'P127', 'P400', 'P974', 'P1346', 'P460', 'P86', 'P118', 'P264', 'P750', 'P58', 'P3450', 'P105', 'P276', 'P101', 'P407', 'P1001', 'P800', 'P131']))"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(train.keys()), len(val.keys()), train.keys()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "collective-teaching",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'tokens': ['Merpati',\n",
       "   'flight',\n",
       "   '106',\n",
       "   'departed',\n",
       "   'Jakarta',\n",
       "   '(',\n",
       "   'CGK',\n",
       "   ')',\n",
       "   'on',\n",
       "   'a',\n",
       "   'domestic',\n",
       "   'flight',\n",
       "   'to',\n",
       "   'Tanjung',\n",
       "   'Pandan',\n",
       "   '(',\n",
       "   'TJQ',\n",
       "   ')',\n",
       "   '.'],\n",
       "  'h': ['tjq', 'Q1331049', [[16]]],\n",
       "  't': ['tanjung pandan', 'Q3056359', [[13, 14]]]},\n",
       " {'tokens': ['The',\n",
       "   'name',\n",
       "   'was',\n",
       "   'at',\n",
       "   'one',\n",
       "   'point',\n",
       "   'changed',\n",
       "   'to',\n",
       "   'Nottingham',\n",
       "   'East',\n",
       "   'Midlands',\n",
       "   'Airport',\n",
       "   'so',\n",
       "   'as',\n",
       "   'to',\n",
       "   'include',\n",
       "   'the',\n",
       "   'name',\n",
       "   'of',\n",
       "   'the',\n",
       "   'city',\n",
       "   'that',\n",
       "   'is',\n",
       "   'supposedly',\n",
       "   'most',\n",
       "   'internationally',\n",
       "   'recognisable',\n",
       "   ',',\n",
       "   'mainly',\n",
       "   'due',\n",
       "   'to',\n",
       "   'the',\n",
       "   'Robin',\n",
       "   'Hood',\n",
       "   'legend',\n",
       "   '.'],\n",
       "  'h': ['east midlands airport', 'Q8977', [[9, 10, 11]]],\n",
       "  't': ['nottingham', 'Q41262', [[8]]]}]"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train['P931'][:2]"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "legislative-burke",
   "metadata": {},
   "source": [
    "We can see the general structure, the first level of the JSON represents a relation type, and contains all the sample of that relation\n",
    "\n",
    "Each relation sample contains the tokenised sentence, head and tail entity (which each contain some unknown numbers)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "hairy-mattress",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Overall mean sentence length: 24.98064732142857\n",
      "Mean sentence length per class:\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "{'P931': 23.091428571428573,\n",
       " 'P4552': 25.942857142857143,\n",
       " 'P140': 25.415714285714287,\n",
       " 'P1923': 25.077142857142857,\n",
       " 'P150': 22.97,\n",
       " 'P6': 25.041428571428572,\n",
       " 'P27': 25.04,\n",
       " 'P449': 25.041428571428572,\n",
       " 'P1435': 22.568571428571428,\n",
       " 'P175': 25.945714285714285,\n",
       " 'P1344': 26.275714285714287,\n",
       " 'P39': 25.315714285714286,\n",
       " 'P527': 25.798571428571428,\n",
       " 'P740': 23.074285714285715,\n",
       " 'P706': 24.07857142857143,\n",
       " 'P84': 25.964285714285715,\n",
       " 'P495': 24.662857142857142,\n",
       " 'P123': 25.6,\n",
       " 'P57': 25.018571428571427,\n",
       " 'P22': 25.745714285714286,\n",
       " 'P178': 25.055714285714284,\n",
       " 'P241': 25.382857142857144,\n",
       " 'P403': 23.23857142857143,\n",
       " 'P1411': 27.17142857142857,\n",
       " 'P135': 26.195714285714285,\n",
       " 'P991': 25.277142857142856,\n",
       " 'P156': 26.924285714285713,\n",
       " 'P176': 25.262857142857143,\n",
       " 'P31': 24.93285714285714,\n",
       " 'P1877': 25.982857142857142,\n",
       " 'P102': 25.035714285714285,\n",
       " 'P1408': 24.717142857142857,\n",
       " 'P159': 24.478571428571428,\n",
       " 'P3373': 25.635714285714286,\n",
       " 'P1303': 24.19857142857143,\n",
       " 'P17': 25.595714285714287,\n",
       " 'P106': 21.664285714285715,\n",
       " 'P551': 24.80857142857143,\n",
       " 'P937': 25.611428571428572,\n",
       " 'P355': 25.077142857142857,\n",
       " 'P710': 25.782857142857143,\n",
       " 'P137': 25.44142857142857,\n",
       " 'P674': 26.99142857142857,\n",
       " 'P466': 25.42,\n",
       " 'P136': 23.94,\n",
       " 'P306': 24.02285714285714,\n",
       " 'P127': 25.33,\n",
       " 'P400': 26.18857142857143,\n",
       " 'P974': 22.338571428571427,\n",
       " 'P1346': 25.437142857142856,\n",
       " 'P460': 24.035714285714285,\n",
       " 'P86': 26.42142857142857,\n",
       " 'P118': 25.082857142857144,\n",
       " 'P264': 25.552857142857142,\n",
       " 'P750': 26.018571428571427,\n",
       " 'P58': 25.69142857142857,\n",
       " 'P3450': 24.50857142857143,\n",
       " 'P105': 20.46142857142857,\n",
       " 'P276': 25.28142857142857,\n",
       " 'P101': 24.702857142857145,\n",
       " 'P407': 24.282857142857143,\n",
       " 'P1001': 25.217142857142857,\n",
       " 'P800': 25.672857142857143,\n",
       " 'P131': 25.02285714285714}"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sentence_lengths = {}\n",
    "for key, samples in train.items():\n",
    "    sentence_lengths[key] = []\n",
    "    for s in samples:\n",
    "        sentence_lengths[key].append(len(s['tokens']))\n",
    "    sentence_lengths[key] = np.mean(sentence_lengths[key])\n",
    "\n",
    "print(\"Overall mean sentence length:\", np.mean(list(sentence_lengths.values())))\n",
    "print(\"Mean sentence length per class:\")\n",
    "sentence_lengths"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "id": "prospective-arkansas",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Examine what the numbers in entity entries mean\n",
    "heads = []\n",
    "for key, samples in train.items():\n",
    "    for s in samples:\n",
    "        heads.extend([s['h'], s['t']])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "id": "soviet-review",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[['tjq', 'Q1331049', [[16]]],\n",
       " ['tanjung pandan', 'Q3056359', [[13, 14]]],\n",
       " ['east midlands airport', 'Q8977', [[9, 10, 11]]],\n",
       " ['nottingham', 'Q41262', [[8]]],\n",
       " ['fort lauderdale-hollywood international airport',\n",
       "  'Q635361',\n",
       "  [[9, 10, 11, 12, 13, 14]]],\n",
       " ['fort lauderdale, florida', 'Q165972', [[16, 17, 18, 19]]],\n",
       " ['jinnah international airport', 'Q61052', [[6, 7, 8]]],\n",
       " ['karachi', 'Q8660', [[10]]],\n",
       " ['margaret ekpo international airport', 'Q1030578', [[9, 10, 11, 12]]],\n",
       " ['calabar', 'Q844091', [[14]]],\n",
       " ['pakyong airport', 'Q7126092', [[0, 1]]],\n",
       " ['gangtok', 'Q186141', [[12]]],\n",
       " ['tinson pen aerodrome', 'Q2320308', [[3, 4, 5]]],\n",
       " ['kingston', 'Q34692', [[7]]],\n",
       " ['noumérat – moufdi zakaria airport', 'Q1432199', [[9, 10, 11, 12, 13]]],\n",
       " ['ghardaïa', 'Q622841', [[15]]],\n",
       " ['kazi nazrul islam airport', 'Q14941562', [[7, 8, 9, 10]]],\n",
       " ['durgapur', 'Q5088', [[12]]],\n",
       " ['robin hood airport', 'Q8996', [[4, 5, 6]]],\n",
       " ['doncaster', 'Q58900', [[8]]],\n",
       " ['large regional airport', 'Q180129', [[3, 4, 5]]],\n",
       " ['manchester', 'Q48370', [[0]]],\n",
       " ['airport', 'Q7199486', [[30]]],\n",
       " ['pittsfield', 'Q49184', [[9], [28]]],\n",
       " ['alberto delgado airport', 'Q4711997', [[27, 28, 29]]],\n",
       " ['trinidad', 'Q319272', [[15]]],\n",
       " ['ferenc liszt international airport', 'Q500945', [[10, 11, 12, 13]]],\n",
       " ['budapest', 'Q1781', [[15]]],\n",
       " ['menominee-marinette twin county airport',\n",
       "  'Q27308800',\n",
       "  [[5, 6, 7, 8, 9, 10]]],\n",
       " ['menominee, michigan', 'Q2635319', [[12, 13, 14]]],\n",
       " ['bacha khan international airport', 'Q1516769', [[2, 3, 4, 5]]],\n",
       " ['peshawar', 'Q1113311', [[0]]],\n",
       " ['sultan aji muhammad sulaiman airport', 'Q263652', [[16, 17, 18, 19, 20]]],\n",
       " ['balikpapan', 'Q14492', [[22]]],\n",
       " ['presidente médici international airport', 'Q6587048', [[0, 1, 2, 3]]],\n",
       " ['rio branco', 'Q171612', [[12, 13]]],\n",
       " ['temple bar airport', 'Q6588459', [[14, 15, 16]]],\n",
       " ['temple bar marina', 'Q7698447', [[0, 1, 2]]],\n",
       " ['toledo express airport', 'Q6588637', [[6, 7, 8]]],\n",
       " ['toledo, ohio', 'Q49239', [[10, 11, 12]]],\n",
       " ['greenbrier valley airport', 'Q3914326', [[0, 1, 2]]],\n",
       " ['lewisburg, west virginia', 'Q731071', [[12, 13, 14, 15]]],\n",
       " ['international airport', 'Q1232348', [[1, 2], [17, 18]]],\n",
       " ['chania', 'Q182299', [[4]]],\n",
       " ['gurney airport', 'Q1069088', [[8, 9]]],\n",
       " ['alotau', 'Q568137', [[11]]],\n",
       " ['bangoka airport', 'Q27596', [[7, 8]]],\n",
       " ['kisangani', 'Q146723', [[5]]],\n",
       " ['borg el arab airport', 'Q1194015', [[7, 8, 9, 10]]],\n",
       " ['alexandria', 'Q87', [[5]]],\n",
       " ['rockwood municipal airport', 'Q10851312', [[10, 11, 12]]],\n",
       " ['rockwood, tennessee', 'Q979056', [[5, 6, 7]]],\n",
       " ['savannah/hilton head international airport',\n",
       "  'Q1432789',\n",
       "  [[5, 6, 7, 8, 9, 10]]],\n",
       " ['savannah, georgia', 'Q83813', [[16, 17, 18]]],\n",
       " ['juan santamaría international airport', 'Q555940', [[9, 10, 11, 12]]],\n",
       " ['san josé', 'Q3070', [[14, 15]]],\n",
       " ['djibouti–ambouli international airport', 'Q620706', [[1, 2, 3, 4, 5]]],\n",
       " ['djibouti city', 'Q3604', [[14, 15]]],\n",
       " ['magic valley regional airport', 'Q6730879', [[7, 8, 9, 10]]],\n",
       " ['twin falls, idaho', 'Q548384', [[13, 14, 15, 16]]],\n",
       " ['abernathy field', 'Q428353', [[0, 1]]],\n",
       " ['city of pulaski', 'Q1410885', [[13, 14, 15]]],\n",
       " ['tuscola area airport', 'Q7856724', [[21, 22, 23]]],\n",
       " ['caro, michigan', 'Q14032', [[25, 26, 27]]],\n",
       " ['raja bhoj airport', 'Q7285421', [[4, 5, 6]]],\n",
       " ['bhopal', 'Q80989', [[7]]],\n",
       " ['maya-maya airport', 'Q644963', [[5, 6, 7, 8]]],\n",
       " ['brazzaville', 'Q3844', [[11]]],\n",
       " ['tourane airfield', 'Q773330', [[25, 26]]],\n",
       " ['da nang', 'Q25282', [[22, 23]]],\n",
       " ['qamdo bamda airport', 'Q531800', [[12, 13, 14]]],\n",
       " ['chamdo', 'Q1012419', [[16]]],\n",
       " ['tingwall airport', 'Q2875973', [[6, 7]]],\n",
       " ['shetland islands', 'Q47134', [[10, 11]]],\n",
       " ['domestic airport', 'Q1595059', [[13, 14]]],\n",
       " ['jamnagar', 'Q1154', [[7]]],\n",
       " ['diori hamani international airport', 'Q905933', [[0, 1, 2, 3]]],\n",
       " ['niamey', 'Q3674', [[8]]],\n",
       " ['davenport municipal airport', 'Q1707887', [[10, 11, 12]]],\n",
       " ['davenport, iowa', 'Q26887', [[14, 15, 16]]],\n",
       " ['billings logan international airport', 'Q598269', [[10, 11, 12, 13]]],\n",
       " ['billings, montana', 'Q166304', [[15, 16, 17]]],\n",
       " ['modlin airport', 'Q1401995', [[2, 3]]],\n",
       " ['warsaw', 'Q270', [[0]]],\n",
       " ['tomás de heres airport', 'Q1931117', [[0, 1, 2, 3]]],\n",
       " ['ciudad bolívar', 'Q26906', [[11, 12]]],\n",
       " ['chicago rockford international airport', 'Q1071990', [[15, 16, 17, 18]]],\n",
       " ['rockford, illinois', 'Q233892', [[21, 22, 23]]],\n",
       " ['yolo county airport', 'Q10853689', [[0, 1, 2]]],\n",
       " ['davis', 'Q668546', [[14]]],\n",
       " ['newcastle airport', 'Q8975', [[4, 5]]],\n",
       " ['tyne and wear', 'Q23080', [[7, 8, 9]]],\n",
       " ['la tontouta international airport', 'Q892783', [[5, 6, 7, 8]]],\n",
       " ['nouméa', 'Q9733', [[0]]],\n",
       " ['zvartnots international airport', 'Q1124922', [[0, 1, 2]]],\n",
       " ['yerevan', 'Q1953', [[4]]],\n",
       " ['mohawk valley airport', 'Q3565424', [[0, 1, 2]]],\n",
       " ['scotia', 'Q1020602', [[20]]],\n",
       " ['sawyer international airport', 'Q4568758', [[4, 5, 6]]],\n",
       " ['marquette', 'Q12443', [[2]]],\n",
       " ['matari airport', 'Q652383', [[4, 5]]],\n",
       " ['isiro', 'Q899873', [[0]]],\n",
       " ['cartierville airport', 'Q1961318', [[24, 25]]],\n",
       " ['saint-laurent', 'Q2117999', [[19, 20, 21]]],\n",
       " ['rapid city regional airport', 'Q2876124', [[6, 7, 8, 9]]],\n",
       " ['rapid city, south dakota', 'Q213325', [[11, 12, 13, 14, 15]]],\n",
       " ['baiyun airport', 'Q44868', [[2, 3]]],\n",
       " ['guangzhou', 'Q16572', [[5]]],\n",
       " ['incheon international airport', 'Q20932', [[13, 14, 15]]],\n",
       " ['seoul', 'Q8684', [[17]]],\n",
       " ['césar gaviria trujillo airport', 'Q1323400', [[0, 1, 2, 3]]],\n",
       " ['inírida', 'Q130281', [[11]]],\n",
       " ['flabob airport', 'Q5456581', [[20, 21]]],\n",
       " ['riverside, california', 'Q49243', [[23, 24, 25]]],\n",
       " ['kbwi', 'Q94895', [[32]]],\n",
       " ['baltimore, maryland', 'Q5092', [[28, 29, 30]]],\n",
       " ['moi international airport', 'Q392784', [[4, 5, 6]]],\n",
       " ['mombasa', 'Q225641', [[8]]],\n",
       " ['leo wattimena airport', 'Q4272507', [[0, 1, 2]]],\n",
       " ['morotai island', 'Q19146', [[19, 20]]],\n",
       " ['jorge isaacs airport', 'Q2902722', [[5, 6, 7]]],\n",
       " ['maicao', 'Q1937427', [[15]]],\n",
       " ['buon ma thuot airport', 'Q695570', [[6, 7, 8, 9]]],\n",
       " ['buôn ma thuột', 'Q33469', [[0, 1, 2]]],\n",
       " ['jeju international airport', 'Q482497', [[26, 27, 28]]],\n",
       " ['jeju island', 'Q29151', [[7, 8]]],\n",
       " ['childress municipal airport', 'Q3274003', [[0, 1, 2]]],\n",
       " ['childress, texas', 'Q982513', [[17, 18, 19]]],\n",
       " ['josé leonardo chirino airport', 'Q1322397', [[0, 1, 2, 3]]],\n",
       " ['coro', 'Q1134454', [[9]]],\n",
       " ['reading regional airport', 'Q7300558', [[19, 20, 21]]],\n",
       " ['reading, pennsylvania', 'Q237896', [[23, 24, 25]]],\n",
       " ['stansted', 'Q8709', [[8]]],\n",
       " ['london', 'Q84', [[6]]],\n",
       " ['bob adams field', 'Q7605416', [[4, 5, 6]]],\n",
       " ['steamboat springs', 'Q984721', [[0, 1], [17, 18]]],\n",
       " ['bullfrog basin airport', 'Q3887489', [[0, 1, 2]]],\n",
       " ['glen canyon national recreation area', 'Q1373278', [[16, 17, 18, 19, 20]]],\n",
       " ['las breas airport', 'Q16893977', [[0, 1, 2]]],\n",
       " ['taltal', 'Q188049', [[13]]],\n",
       " ['sri sathya sai airport', 'Q1939560', [[13, 14, 15, 16]]],\n",
       " ['puttaparthi', 'Q1068595', [[9]]],\n",
       " ['boryspil international airport', 'Q477677', [[5, 6, 7]]],\n",
       " ['kyiv', 'Q1899', [[24]]],\n",
       " ['alxa left banner bayanhot airport', 'Q16258986', [[20, 21, 22, 23, 24]]],\n",
       " ['alxa league', 'Q449963', [[9, 10]]],\n",
       " ['capital city airport', 'Q3274856', [[0, 1, 2]]],\n",
       " ['harrisburg', 'Q25280', [[11]]],\n",
       " ['meythet airport', 'Q1430810', [[0, 1]]],\n",
       " ['annecy', 'Q50189', [[3]]],\n",
       " ['sheppard air force base', 'Q176146', [[25, 26, 27, 28]]],\n",
       " ['wichita falls', 'Q128349', [[21, 22]]],\n",
       " ['abraham lincoln capital airport', 'Q1320523', [[12, 13, 14, 15]]],\n",
       " ['springfield', 'Q28515', [[17]]],\n",
       " ['essendon', 'Q1319272', [[19]]],\n",
       " ['melbourne', 'Q3141', [[21]]],\n",
       " ['laurel municipal airport', 'Q6499928', [[1, 2, 3]]],\n",
       " ['laurel, montana', 'Q768628', [[13, 14, 15]]],\n",
       " ['hualien airport', 'Q703921', [[5, 6]]],\n",
       " ['hualien city', 'Q713310', [[0, 1]]],\n",
       " ['rafael hernández international airport', 'Q2276582', [[10, 11, 12, 13]]],\n",
       " ['aguadilla, puerto rico', 'Q397826', [[15, 16, 17, 18]]],\n",
       " ['al dhafra air base', 'Q2886453', [[21, 22, 23, 24]]],\n",
       " ['abu dhabi', 'Q1519', [[26, 27]]],\n",
       " ['johan pienaar airport', 'Q1580098', [[0, 1, 2]]],\n",
       " ['kuruman', 'Q1025965', [[7]]],\n",
       " ['shah amanat international airport', 'Q525609', [[20, 21, 22, 23]]],\n",
       " ['chittagong', 'Q376749', [[25]]],\n",
       " ['northwest missouri regional airport', 'Q7060119', [[5, 6, 7, 8]]],\n",
       " ['maryville', 'Q957284', [[10]]],\n",
       " ['portsmouth international airport at pease',\n",
       "  'Q6587102',\n",
       "  [[12, 13, 14, 15, 16]]],\n",
       " ['portsmouth, new hampshire', 'Q49191', [[18, 19, 20, 21]]],\n",
       " ['tribhuvan international airport', 'Q61066', [[22, 23, 24]]],\n",
       " ['kathmandu', 'Q3037', [[18]]],\n",
       " ['albert whitted airport', 'Q4711466', [[13, 14, 15]]],\n",
       " ['st petersburg', 'Q49236', [[17, 18]]],\n",
       " ['mammoth yosemite airport', 'Q6745883', [[0, 1, 2]]],\n",
       " ['mammoth lakes', 'Q983604', [[14, 15]]],\n",
       " ['mayor galo de la torre airport', 'Q22632230', [[4, 5, 6, 7, 8, 9]]],\n",
       " ['tena', 'Q994312', [[2]]],\n",
       " ['san luis valley regional airport', 'Q7414773', [[4, 5, 6, 7, 8]]],\n",
       " ['alamosa', 'Q1010247', [[0]]],\n",
       " ['dallas-fort worth international airport',\n",
       "  'Q459096',\n",
       "  [[11, 12, 13, 14, 15, 16]]],\n",
       " ['dallas-fort worth metroplex', 'Q179295', [[1, 2, 3, 4, 5]]],\n",
       " ['bassillac airport', 'Q1432520', [[2, 3]]],\n",
       " ['périgueux', 'Q6588', [[0]]],\n",
       " ['airstrip', 'Q7455033', [[23]]],\n",
       " ['seronera', 'Q6273481', [[4]]],\n",
       " ['bathpalathang airport', 'Q153191', [[6, 7]]],\n",
       " ['jakar', 'Q2468415', [[0]]],\n",
       " ['\"skid strip\"', 'Q3275436', [[14, 15, 16, 17]]],\n",
       " ['cape canaveral air force station', 'Q334465', [[4, 5, 6, 7, 8]]],\n",
       " ['siglufjordur airport', 'Q2875922', [[3, 4]]],\n",
       " ['siglufjörður', 'Q1887662', [[0], [9]]],\n",
       " ['randolph field', 'Q980034', [[10, 11]]],\n",
       " ['san antonio', 'Q975', [[13, 14]]],\n",
       " ['phoenix-mesa gateway airport', 'Q493759', [[5, 6, 7, 8, 9]]],\n",
       " ['mesa, arizona', 'Q49261', [[14, 15, 16]]],\n",
       " ['golosón international airport', 'Q2231517', [[4, 5, 6]]],\n",
       " ['la ceiba', 'Q916536', [[8, 9]]],\n",
       " ['john bell williams airport', 'Q2901886', [[20, 21, 22, 23]]],\n",
       " ['raymond, mississippi', 'Q1779125', [[8, 9, 10]]],\n",
       " ['begumpet airport', 'Q1657769', [[7, 8]]],\n",
       " ['hyderabad', 'Q1361', [[10]]],\n",
       " ['visalia municipal airport', 'Q7935607', [[1, 2, 3]]],\n",
       " ['visalia, california', 'Q495373', [[14, 15, 16]]],\n",
       " ['stinson field municipal airport', 'Q7617473', [[0, 1, 2, 3]]],\n",
       " ['aberdeen, mississippi', 'Q1065452', [[12, 13, 14]]],\n",
       " ['sua pan airport', 'Q7630421', [[0, 1, 2]]],\n",
       " ['sowa', 'Q141310', [[4], [11]]],\n",
       " ['momona airport', 'Q1364375', [[9, 10]]],\n",
       " ['dunedin', 'Q133073', [[6]]],\n",
       " ['bob sikes airport', 'Q597487', [[8, 9, 10]]],\n",
       " ['crestview, florida', 'Q2153124', [[12, 13, 14]]],\n",
       " ['rnzaf base ohakea', 'Q7277291', [[15, 16, 17]]],\n",
       " ['palmerston north', 'Q212289', [[19, 20]]],\n",
       " ['camp mcgovern', 'Q16890056', [[20, 21]]],\n",
       " ['brčko', 'Q322828', [[0]]],\n",
       " ['greater cumberland regional airport', 'Q3913914', [[12, 13, 14, 15]]],\n",
       " ['cumberland, maryland', 'Q754868', [[21, 22, 23]]],\n",
       " ['cakung airport', 'Q1430948', [[4, 5]]],\n",
       " ['baucau', 'Q811130', [[0], [14]]],\n",
       " ['borrego valley airport', 'Q3606044', [[15, 16, 17]]],\n",
       " ['borrego springs, california', 'Q2049424', [[9, 10, 11, 12]]],\n",
       " ['maria cristina airport', 'Q1031517', [[0, 1, 2]]],\n",
       " ['iligan', 'Q285488', [[21]]],\n",
       " ['eros airport', 'Q1321635', [[29, 30]]],\n",
       " ['windhoek', 'Q3935', [[27]]],\n",
       " ['camp speicher', 'Q5013269', [[19, 20]]],\n",
       " ['tikrit', 'Q165444', [[22]]],\n",
       " ['curtis field', 'Q1656327', [[17, 18]]],\n",
       " ['brady, texas', 'Q981872', [[7, 8, 9]]],\n",
       " ['airports', 'Q937590', [[12]]],\n",
       " ['long island', 'Q18438', [[6, 7]]],\n",
       " ['jean airport', 'Q2901394', [[17, 18]]],\n",
       " ['jean, nevada', 'Q3709757', [[20, 21, 22]]],\n",
       " ['piarco international airport', 'Q788810', [[16, 17, 18]]],\n",
       " ['port of spain', 'Q39178', [[9, 10, 11], [26, 27, 28]]],\n",
       " ['cherry capital airport', 'Q1433080', [[11, 12, 13]]],\n",
       " ['traverse city', 'Q984544', [[15, 16]]],\n",
       " ['oxnard airport', 'Q7115707', [[13, 14]]],\n",
       " ['oxnard, california', 'Q209338', [[22, 23, 24]]],\n",
       " ['jay prakash narayan international airport',\n",
       "  'Q2673010',\n",
       "  [[28, 29, 30, 31, 32]]],\n",
       " ['patna', 'Q80484', [[34]]],\n",
       " ['pnq', 'Q1432525', [[6]]],\n",
       " ['pune', 'Q1538', [[0], [20]]],\n",
       " ['bartolomeu de gusmão airport', 'Q4784257', [[10, 11, 12, 13]]],\n",
       " ['araraquara', 'Q626247', [[5]]],\n",
       " ['phu bai international airport', 'Q160094', [[0, 1, 2, 3]]],\n",
       " ['huế', 'Q36167', [[22]]],\n",
       " ['taipei songshan airport', 'Q702019', [[11, 12, 13]]],\n",
       " ['taipei city', 'Q1867', [[8, 9]]],\n",
       " ['liberal mid-america regional airport',\n",
       "  'Q6540690',\n",
       "  [[18, 19, 20, 21, 22, 23]]],\n",
       " ['liberal, kansas', 'Q1003630', [[12, 13, 14]]],\n",
       " ['kdlh', 'Q3277758', [[5]]],\n",
       " ['duluth', 'Q485708', [[8]]],\n",
       " ['sri guru ram dass jee international airport',\n",
       "  'Q385356',\n",
       "  [[12, 13, 14, 15, 16, 17, 18]]],\n",
       " ['amritsar', 'Q48403', [[25]]],\n",
       " ['kilimanjaro international airport', 'Q1365099', [[15, 16, 17]]],\n",
       " ['arusha', 'Q4301', [[2]]],\n",
       " ['governor francisco gabrielli international airport',\n",
       "  'Q1432029',\n",
       "  [[19, 20, 21, 22, 23]]],\n",
       " ['mendoza', 'Q44237', [[25]]],\n",
       " ['heathrow', 'Q8691', [[14]]],\n",
       " ['london', 'Q84', [[1]]],\n",
       " ['blue grass airport', 'Q598259', [[19, 20, 21]]],\n",
       " ['lexington, kentucky', 'Q49241', [[23, 24, 25]]],\n",
       " ['baikal international airport', 'Q2719346', [[11, 12, 13]]],\n",
       " ['ulan-ude', 'Q6816', [[15, 16, 17]]],\n",
       " ['kbely airport', 'Q1935013', [[0, 1]]],\n",
       " ['prague', 'Q1085', [[8]]],\n",
       " ['enyu airfield', 'Q598311', [[7, 8]]],\n",
       " ['bikini atoll', 'Q152225', [[0, 1], [18, 19]]],\n",
       " ['olaya herrera airport', 'Q1431257', [[27, 28, 29]]],\n",
       " ['medellín', 'Q48278', [[31]]],\n",
       " ['littlefield municipal airport', 'Q6652959', [[0, 1, 2]]],\n",
       " ['littlefield, texas', 'Q202736', [[24, 25, 26]]],\n",
       " ['capitán germán quiroga guardia airport', 'Q2875720', [[0, 1, 2, 3, 4]]],\n",
       " ['san borja', 'Q2307472', [[9, 10]]],\n",
       " ['moses point airport', 'Q3886700', [[0, 1, 2]]],\n",
       " ['elim', 'Q79557', [[8]]],\n",
       " ['huatugou airport', 'Q3207552', [[13, 14]]],\n",
       " ['mangnai', 'Q1201941', [[18]]],\n",
       " ['kulyab airport', 'Q2231909', [[3, 4]]],\n",
       " ['kulob', 'Q132043', [[0], [9]]],\n",
       " ['own airport', 'Q1175431', [[27, 28]]],\n",
       " ['gold coast', 'Q140075', [[4, 5], [24, 25]]],\n",
       " ['ernesto cortissoz international airport', 'Q645151', [[20, 21, 22, 23]]],\n",
       " ['barranquilla', 'Q62823', [[8]]],\n",
       " ['huntsville international airport', 'Q2213419', [[20, 21, 22]]],\n",
       " ['huntsville, alabama', 'Q79860', [[15, 16, 17]]],\n",
       " ['maota airport', 'Q1030546', [[0, 1]]],\n",
       " ['salelologa', 'Q2214151', [[15]]],\n",
       " ['kertajati international airport', 'Q889070', [[20, 21, 22]]],\n",
       " ['west java', 'Q3724', [[4, 5]]],\n",
       " ['sonari airport', 'Q7560814', [[8, 9]]],\n",
       " ['jamshedpur', 'Q200054', [[11]]],\n",
       " ['an international airport', 'Q6587028', [[2, 3, 4]]],\n",
       " ['parnaíba', 'Q1643864', [[0]]],\n",
       " ['international airport', 'Q570873', [[12, 13]]],\n",
       " ['damascus', 'Q3766', [[10]]],\n",
       " ['tobías bolaños international airport', 'Q3500191', [[3, 4, 5, 6]]],\n",
       " ['san josé', 'Q3070', [[8, 9]]],\n",
       " ['luis muñoz marín international airport', 'Q1360523', [[7, 8, 9, 10, 11]]],\n",
       " ['san juan', 'Q41211', [[13, 14]]],\n",
       " ['general mariano escobedo international airport',\n",
       "  'Q767660',\n",
       "  [[9, 10, 11, 12, 13]]],\n",
       " ['monterrey', 'Q81033', [[0]]],\n",
       " ['msalato international airport', 'Q16895494', [[0, 1, 2]]],\n",
       " ['dodoma', 'Q3866', [[17]]],\n",
       " ['bogashevo airport', 'Q1322435', [[17, 18]]],\n",
       " ['tomsk', 'Q976', [[20]]],\n",
       " ['pedro juan caballero airport', 'Q1657937', [[5, 6, 7, 8]]],\n",
       " ['pedro juan caballero, paraguay', 'Q849292', [[10, 11, 12, 13, 14]]],\n",
       " ['jomo kenyatta international airport', 'Q206349', [[9, 10, 11, 12]]],\n",
       " ['nairobi', 'Q3870', [[14]]],\n",
       " ['international airport', 'Q2308399', [[14, 15]]],\n",
       " ['san pedro sula', 'Q274584', [[1, 2, 3]]],\n",
       " ['lee bird field', 'Q7056358', [[6, 7, 8]]],\n",
       " ['north platte, nebraska', 'Q989960', [[11, 12, 13, 14]]],\n",
       " ['rafael núñez international airport', 'Q2670003', [[22, 23, 24, 25]]],\n",
       " ['cartagena', 'Q657461', [[13]]],\n",
       " ['newnam field', 'Q5330836', [[13, 14], [20, 21]]],\n",
       " ['easton', 'Q754306', [[11], [18]]],\n",
       " ['teterboro airport', 'Q1433053', [[8, 9]]],\n",
       " ['teterboro, new jersey', 'Q936782', [[11, 12, 13, 14]]],\n",
       " ['juan enrique airport', 'Q16896327', [[0, 1, 2]]],\n",
       " ['paine', 'Q51070', [[11]]],\n",
       " ['wynyard airport', 'Q15540', [[6, 7], [9, 10]]],\n",
       " ['burnie', 'Q175262', [[0], [5], [27]]],\n",
       " ['rinas international airport', 'Q217226', [[10, 11, 12]]],\n",
       " ['tirana', 'Q19689', [[0]]],\n",
       " ['rach gia airport', 'Q1993204', [[2, 3, 4]]],\n",
       " ['rạch giá', 'Q36093', [[10, 11]]],\n",
       " ['kotoka international airport', 'Q177689', [[16, 17, 18]]],\n",
       " ['accra', 'Q3761', [[19]]],\n",
       " ['vomd', 'Q3465662', [[10]]],\n",
       " ['madurai', 'Q228405', [[0], [17]]],\n",
       " ['ford airport', 'Q5467650', [[4, 5]]],\n",
       " ['iron mountain, michigan', 'Q567814', [[7, 8, 9, 10]]],\n",
       " ['biard airport', 'Q1432405', [[9, 10]]],\n",
       " ['poitiers', 'Q6616', [[5], [7]]],\n",
       " ['calhoun county airport', 'Q3813482', [[0, 1, 2]]],\n",
       " ['port lavaca', 'Q982477', [[17, 18]]],\n",
       " ['governador aluizio alves international airport',\n",
       "  'Q2090101',\n",
       "  [[0, 1, 2, 3, 4]]],\n",
       " ['natal', 'Q131620', [[15]]],\n",
       " ['ordos ejin horo airport', 'Q3538450', [[0, 1, 2, 3]]],\n",
       " ['ordos city', 'Q570937', [[8, 9]]],\n",
       " ['tingoa airport', 'Q3436133', [[2, 3]]],\n",
       " ['tigoa', 'Q987011', [[8]]],\n",
       " ['raaf williams', 'Q1551483', [[12, 13]]],\n",
       " ['melbourne', 'Q3141', [[15]]],\n",
       " ['el loa airport', 'Q3299637', [[20, 21, 22]]],\n",
       " ['calama', 'Q3685', [[24]]],\n",
       " ['valkaria airport', 'Q7911753', [[24, 25]]],\n",
       " ['grant-valkaria', 'Q2154617', [[6, 7, 8]]],\n",
       " ['alliance airport', 'Q5472378', [[12, 13]]],\n",
       " ['fort worth, texas', 'Q16558', [[15, 16, 17, 18]]],\n",
       " ['los maitenes airport', 'Q16899238', [[1, 2, 3]]],\n",
       " ['retiro', 'Q56122', [[0], [12]]],\n",
       " ['cecil county airport', 'Q19574884', [[6, 7, 8]]],\n",
       " ['elkton, maryland', 'Q754338', [[16, 17, 18]]],\n",
       " ['göteborg city airport', 'Q844281', [[16, 17, 18]]],\n",
       " ['gothenburg', 'Q25287', [[3]]],\n",
       " ['david jay perry airport', 'Q1709203', [[0, 1, 2, 3]]],\n",
       " ['goldsby', 'Q2456775', [[14]]],\n",
       " ['max westheimer airport', 'Q10853586', [[6, 7, 8]]],\n",
       " ['norman', 'Q40347', [[10]]],\n",
       " ['savitri jindal airport', 'Q18355676', [[6, 7, 8]]],\n",
       " ['angul', 'Q518237', [[10]]],\n",
       " ['airport', 'Q1571015', [[15]]],\n",
       " ['regina, saskatchewan', 'Q2123', [[9, 10, 11]]],\n",
       " ['dulles', 'Q466835', [[6]]],\n",
       " ['washington', 'Q61', [[5]]],\n",
       " ['orly airport', 'Q223416', [[18, 19]]],\n",
       " ['paris', 'Q90', [[21]]],\n",
       " ['ferdinand lumban tobing airport', 'Q4272430', [[1, 2, 3, 4]]],\n",
       " ['sibolga', 'Q5984', [[21]]],\n",
       " ['franco bianco airport', 'Q16891421', [[0, 1, 2]]],\n",
       " ['cerro sombrero', 'Q1006493', [[8, 9]]],\n",
       " ['hewanorra international airport', 'Q1431475', [[30, 31, 32]]],\n",
       " ['vieux fort', 'Q1472864', [[7, 8]]],\n",
       " ['anderson field', 'Q4754070', [[12, 13]]],\n",
       " ['brewster', 'Q1506880', [[2]]],\n",
       " ['khorog airport', 'Q6402378', [[0, 1]]],\n",
       " ['khorugh', 'Q467501', [[6]]],\n",
       " ['hongqiao airport', 'Q421811', [[18, 19]]],\n",
       " ['shanghai', 'Q8686', [[4]]],\n",
       " ['pinal airpark', 'Q5353435', [[0, 1]]],\n",
       " ['marana', 'Q762743', [[6]]],\n",
       " ['canefield airport', 'Q1033097', [[4, 5]]],\n",
       " ['roseau', 'Q36281', [[0]]],\n",
       " ['mercedita airport', 'Q652578', [[20, 21]]],\n",
       " ['ponce', 'Q864024', [[23]]],\n",
       " ['avelino vieira airport', 'Q4784231', [[0, 1, 2]]],\n",
       " ['arapoti', 'Q1805391', [[7]]],\n",
       " ['kvll - oakland/troy airport', 'Q2902372', [[14, 15, 16, 17, 18, 19]]],\n",
       " ['troy, michigan', 'Q990271', [[21, 22, 23]]],\n",
       " ['dalton airport', 'Q5211664', [[0, 1]]],\n",
       " ['flushing', 'Q967748', [[8]]],\n",
       " ['chattanooga metropolitan airport', 'Q1708272', [[0, 1, 2]]],\n",
       " ['chattanooga, tennessee', 'Q186702', [[18, 19, 20]]],\n",
       " ['fulton county airport', 'Q3274683', [[1, 2, 3]]],\n",
       " ['atlanta', 'Q23556', [[23]]],\n",
       " ['main airport', 'Q32999', [[11, 12]]],\n",
       " ['vienna', 'Q1741', [[9]]],\n",
       " ['rendani airport', 'Q964835', [[17, 18]]],\n",
       " ['manokwari', 'Q848672', [[20]]],\n",
       " ['bishop airport', 'Q4087670', [[22, 23]]],\n",
       " ['bishop, california', 'Q852658', [[25, 26, 27]]],\n",
       " ['tafraoui airfield', 'Q6588435', [[7, 8]]],\n",
       " ['oran', 'Q131818', [[10]]],\n",
       " ['ishasha river camp airport', 'Q21974285', [[16, 17, 18, 19]]],\n",
       " ['queen elizabeth national park', 'Q530084', [[25, 26, 27, 28]]],\n",
       " ['wakulla county airport', 'Q5309352', [[1, 2, 3]]],\n",
       " ['panacea', 'Q5306283', [[11]]],\n",
       " ['alberto carnevalli airport', 'Q2704391', [[26, 27, 28]]],\n",
       " ['mérida', 'Q23551', [[0]]],\n",
       " ['sadiq abubakar iii international airport',\n",
       "  'Q922675',\n",
       "  [[9, 10, 11, 12, 13]]],\n",
       " ['sokoto', 'Q336350', [[15]]],\n",
       " ['santa bárbara airport', 'Q16896455', [[0, 1, 2]]],\n",
       " ['romeral', 'Q56124', [[11]]],\n",
       " ['simisini air base', 'Q21974331', [[1, 2, 3]]],\n",
       " ['kisangani', 'Q146723', [[0], [12]]],\n",
       " ['aurel vlaicu international airport', 'Q843229', [[7, 8, 9, 10]]],\n",
       " ['bucharest', 'Q19660', [[12]]],\n",
       " ['gautam buddha airport', 'Q3275873', [[0, 1, 2]]],\n",
       " ['siddharthanagar', 'Q1530936', [[5]]],\n",
       " ['steve edwards field', 'Q14681184', [[9, 10, 11]]],\n",
       " ['marianna', 'Q79582', [[0]]],\n",
       " ['north texas regional airport', 'Q7056982', [[10, 11, 12, 13]]],\n",
       " ['sherman', 'Q982379', [[15]]],\n",
       " ['airport', 'Q654636', [[26]]],\n",
       " ['larnaca', 'Q171882', [[21]]],\n",
       " ['fukushima airport', 'Q177473', [[0, 1]]],\n",
       " ['sukagawa', 'Q819664', [[3]]],\n",
       " ['williams field', 'Q2748837', [[3, 4]]],\n",
       " ['mcmurdo station', 'Q498627', [[20, 21]]],\n",
       " ['northeast philadelphia airport', 'Q2739991', [[13, 14, 15]]],\n",
       " ['philadelphia, pennsylvania', 'Q1345', [[17, 18, 19]]],\n",
       " ['shj', 'Q635826', [[2]]],\n",
       " ['sharjah', 'Q289693', [[0]]],\n",
       " ['williamson county regional airport', 'Q8021210', [[10, 11, 12, 13]]],\n",
       " ['marion', 'Q575399', [[20]]],\n",
       " ['airport', 'Q17430', [[1]]],\n",
       " ['saint-denis', 'Q47045', [[3, 4, 5]]],\n",
       " ['mcginness airport', 'Q19876918', [[0, 1]]],\n",
       " ['columbia', 'Q1133892', [[21]]],\n",
       " ['marshall memorial municipal airport', 'Q14704430', [[9, 10, 11, 12]]],\n",
       " ['marshall, missouri', 'Q954882', [[14, 15, 16]]],\n",
       " ['sania ramel airport', 'Q1433058', [[10, 11, 12]]],\n",
       " ['tetouan', 'Q185157', [[8]]],\n",
       " ['agostinho neto airport', 'Q636824', [[18, 19, 20]]],\n",
       " ['ponta do sol', 'Q768314', [[6, 7, 8]]],\n",
       " ['frans kaisiepo international airport', 'Q2134812', [[0, 1, 2, 3]]],\n",
       " ['biak', 'Q855314', [[11]]],\n",
       " ['kish international airport', 'Q2670526', [[1, 2, 3]]],\n",
       " ['kish island', 'Q221883', [[19, 20]]],\n",
       " ['cheongju international airport', 'Q483675', [[0, 1, 2]]],\n",
       " ['cheongwon-gu', 'Q42147', [[23, 24, 25]]],\n",
       " ['king abdulaziz international airport', 'Q153592', [[12, 13, 14, 15]]],\n",
       " ['jeddah', 'Q374365', [[17]]],\n",
       " ['an airport', 'Q12694168', [[3, 4]]],\n",
       " ['nicoya', 'Q2486629', [[0]]],\n",
       " ['sheikh-ul-alam international airport', 'Q2247528', [[0, 1, 2, 3, 4, 5, 6]]],\n",
       " ['srinagar', 'Q170115', [[8]]],\n",
       " ['bugungu airstrip', 'Q21974272', [[0, 1]]],\n",
       " ['murchison falls national park', 'Q1893242', [[12, 13, 14, 15]]],\n",
       " ['atlantic municipal airport', 'Q2902476', [[19, 20, 21]]],\n",
       " ['atlantic, iowa', 'Q756267', [[13, 14, 15]]],\n",
       " ['edtl', 'Q597321', [[11]]],\n",
       " ['lahr', 'Q7039', [[3], [25]]],\n",
       " ['airport', 'Q7404650', [[14]]],\n",
       " ['salinas', 'Q488125', [[9]]],\n",
       " ['gustaf iii airport', 'Q38805', [[5, 6, 7]]],\n",
       " ['saint barthélemy', 'Q25362', [[17, 18]]],\n",
       " ['tempuling airport', 'Q18821722', [[0, 1]]],\n",
       " ['tembilahan', 'Q6542770', [[10]]],\n",
       " ['shuangliu airport', 'Q387560', [[1, 2]]],\n",
       " ['chengdu', 'Q30002', [[4]]],\n",
       " ['cam ranh', 'Q25226', [[7, 8]]],\n",
       " ['nha trang', 'Q19491', [[11, 12]]],\n",
       " ['bole international airport', 'Q44923', [[6, 7, 8]]],\n",
       " ['addis ababa', 'Q3624', [[10, 11]]],\n",
       " ['airport', 'Q631430', [[30]]],\n",
       " ['kangerlussuaq', 'Q1007098', [[0]]],\n",
       " ['oer', 'Q2673175', [[15]]],\n",
       " ['örnsköldsvik', 'Q28327', [[11]]],\n",
       " ['lsma', 'Q1934947', [[7]]],\n",
       " ['alpnach', 'Q69296', [[3], [18]]],\n",
       " ['shah makhdum airport', 'Q2875736', [[0, 1, 2]]],\n",
       " ['rajshahi', 'Q322155', [[4]]],\n",
       " ['juanda international airport', 'Q1431631', [[12, 13, 14]]],\n",
       " ['surabaya', 'Q11462', [[10]]],\n",
       " ['kctb', 'Q1655488', [[2]]],\n",
       " ['cut bank, montana', 'Q968158', [[6, 7, 8, 9]]],\n",
       " ['surkhet airport', 'Q1756900', [[0, 1]]],\n",
       " ['birendranagar', 'Q865146', [[3]]],\n",
       " ['airport', 'Q265994', [[8]]],\n",
       " ['nuremberg', 'Q2090', [[13]]],\n",
       " ['ivato international airport', 'Q670038', [[6, 7, 8]]],\n",
       " ['antananarivo', 'Q3915', [[12]]],\n",
       " ['keshod airport', 'Q2722850', [[0, 1]]],\n",
       " ['junagadh', 'Q11864', [[9]]],\n",
       " ['molco airport', 'Q16895275', [[4, 5]]],\n",
       " ['choshuenco', 'Q5105354', [[0]]],\n",
       " ['enshi xujiaping airport', 'Q1937966', [[0, 1, 2]]],\n",
       " ['enshi city', 'Q1028110', [[9, 10]]],\n",
       " ['arturo michelena international airport', 'Q2231898', [[11, 12, 13, 14]]],\n",
       " ['valencia', 'Q54880', [[16]]],\n",
       " ['wgp', 'Q652704', [[13]]],\n",
       " ['waingapu', 'Q781361', [[3], [22]]],\n",
       " ['linden airport', 'Q10853379', [[0, 1]]],\n",
       " ['linden, new jersey', 'Q1004712', [[11, 12, 13, 14]]],\n",
       " ['youngstown–warren regional airport', 'Q8058655', [[8, 9, 10, 11, 12]]],\n",
       " ['youngstown, ohio', 'Q216820', [[14, 15, 16]]],\n",
       " ['largest international airport', 'Q45938', [[19, 20, 21]]],\n",
       " ['auckland', 'Q37100', [[0]]],\n",
       " ['soko airport', 'Q7555134', [[5, 6]]],\n",
       " ['bondoukou', 'Q892276', [[0]]],\n",
       " ['frankfurt airport', 'Q46033', [[0, 1]]],\n",
       " ['frankfurt am main', 'Q1794', [[16, 17, 18]]],\n",
       " ['capodichino airport', 'Q849383', [[5, 6]]],\n",
       " ['naples', 'Q2634', [[8]]],\n",
       " ['hanover county municipal airport', 'Q3884853', [[0, 1, 2, 3]]],\n",
       " ['richmond', 'Q43421', [[23]]],\n",
       " ['dyersburg municipal airport', 'Q5318578', [[12, 13, 14]]],\n",
       " ['dyersburg, tennessee', 'Q1268670', [[16, 17, 18]]],\n",
       " ['wyandot county airport', 'Q24061424', [[0, 1, 2]]],\n",
       " ['upper sandusky', 'Q1913338', [[17, 18]]],\n",
       " ['julius nyerere international airport', 'Q1411192', [[17, 18, 19, 20]]],\n",
       " ['dar es salaam', 'Q1960', [[22, 23, 24]]],\n",
       " ['avenger field', 'Q2901599', [[0, 1]]],\n",
       " ['city of sweetwater', 'Q981845', [[15, 16, 17]]],\n",
       " ['rickenbacker international airport', 'Q1432595', [[23, 24, 25]]],\n",
       " ['columbus', 'Q16567', [[33]]],\n",
       " ['sbih', 'Q2902444', [[21]]],\n",
       " ['itaituba', 'Q655734', [[13]]],\n",
       " ['los rodeos airport', 'Q932514', [[15, 16, 17]]],\n",
       " ['tenerife', 'Q40846', [[19]]],\n",
       " ['lake cumberland regional airport', 'Q10853391', [[0, 1, 2, 3]]],\n",
       " ['somerset', 'Q2303714', [[15]]],\n",
       " ['isla grande airport', 'Q5444795', [[18, 19, 20]]],\n",
       " ['san juan', 'Q41211', [[6, 7]]],\n",
       " ['mountain valley airport', 'Q3886257', [[15, 16, 17]]],\n",
       " ['tehachapi, california', 'Q985253', [[19, 20, 21]]],\n",
       " ['virginia highlands airport', 'Q7934312', [[12, 13, 14]]],\n",
       " ['abingdon', 'Q137919', [[20]]],\n",
       " ['boudghene ben ali lotfi airport', 'Q2875808', [[5, 6, 7, 8, 9]]],\n",
       " ['béchar', 'Q638704', [[3]]],\n",
       " ['airport', 'Q2875819', [[6]]],\n",
       " ['debre marqos', 'Q1024659', [[0, 1]]],\n",
       " ['germán olano airport', 'Q1323338', [[4, 5, 6]]],\n",
       " ['puerto carreño', 'Q130304', [[7, 8]]],\n",
       " ['caucayá airport', 'Q1962669', [[5, 6]]],\n",
       " ['puerto leguízamo', 'Q1525407', [[0, 1]]],\n",
       " ['brunswick executive airport', 'Q3886398', [[14, 15, 16]]],\n",
       " ['brunswick, maine', 'Q518466', [[18, 19, 20]]],\n",
       " ['zamboanga international airport', 'Q1200033', [[29, 30, 31]]],\n",
       " ['zamboanga city', 'Q1629', [[7, 8]]],\n",
       " ['carti airstrip', 'Q19460881', [[16, 17]]],\n",
       " ['cartí sugtupu', 'Q636822', [[0, 1]]],\n",
       " ['yellowknife airport', 'Q2724008', [[5, 6]]],\n",
       " ['yellowknife, northwest territories', 'Q2061', [[8, 9, 10, 11]]],\n",
       " ['tallman east airport', 'Q7680162', [[0, 1, 2]]],\n",
       " ['tower city, pennsylvania', 'Q1187340', [[8, 9, 10, 11]]],\n",
       " ['erik nielsen whitehorse international airport',\n",
       "  'Q1433251',\n",
       "  [[8, 9, 10, 11, 12]]],\n",
       " ['whitehorse, yukon', 'Q2058', [[14, 15, 16]]],\n",
       " ['sahnewal airport', 'Q7399709', [[18, 19]]],\n",
       " ['ludhiana', 'Q200123', [[21]]],\n",
       " ['tunoshna airport', 'Q1147420', [[9, 10]]],\n",
       " ['yaroslavl', 'Q2423', [[12]]],\n",
       " ['commodore decatur airport', 'Q5153221', [[0, 1, 2]]],\n",
       " ['bainbridge, georgia', 'Q788794', [[14, 15, 16]]],\n",
       " ['la florida airport', 'Q1977854', [[0, 1, 2]]],\n",
       " ['tumaco', 'Q1005555', [[4]]],\n",
       " ['avalon airport', 'Q17896', [[14, 15]]],\n",
       " ['geelong', 'Q231765', [[27]]],\n",
       " ['grider field', 'Q5608629', [[28, 29]]],\n",
       " ['pine bluff', 'Q80012', [[31, 32]]],\n",
       " ['moyne aerodrome', 'Q3886239', [[0, 1]]],\n",
       " ['thurles', 'Q383188', [[9]]],\n",
       " ['senai international airport', 'Q3239110', [[12, 13, 14]]],\n",
       " ['johor', 'Q183032', [[16]]],\n",
       " ['international airport', 'Q1430826', [[3, 4]]],\n",
       " ['aktau', 'Q198989', [[0]]],\n",
       " ['lkvo', 'Q3487271', [[0]]],\n",
       " ['prague', 'Q1085', [[12]]],\n",
       " ['northwest regional airport', 'Q7060183', [[6, 7, 8]]],\n",
       " ['roanoke, texas', 'Q969223', [[10, 11, 12]]],\n",
       " ['scottsdale airport', 'Q17567', [[18, 19]]],\n",
       " ['scottsdale, arizona', 'Q49221', [[21, 22, 23]]],\n",
       " ['jefferson county international airport', 'Q2902617', [[10, 11, 12, 13]]],\n",
       " ['port townsend, washington', 'Q1001828', [[15, 16, 17, 18]]],\n",
       " ['batajnica air base', 'Q948600', [[5, 6, 7]]],\n",
       " ['belgrade', 'Q3711', [[9]]],\n",
       " ['bolton field', 'Q3886801', [[5, 6]]],\n",
       " ['columbus', 'Q16567', [[15]]],\n",
       " ['quatro de fevereiro airport', 'Q598002', [[7, 8, 9, 10]]],\n",
       " ['luanda', 'Q3897', [[5]]],\n",
       " ['ben gurion airport', 'Q181479', [[16, 17, 18]]],\n",
       " ['tel aviv', 'Q33935', [[13, 14]]],\n",
       " ['sheremetyevo international airport', 'Q192733', [[25, 26, 27]]],\n",
       " ['moscow', 'Q649', [[29]]],\n",
       " ['perry county airport', 'Q7169748', [[5, 6, 7]]],\n",
       " ['linden', 'Q2607529', [[9]]],\n",
       " ['lynden pindling international airport', 'Q1415006', [[18, 19, 20, 21]]],\n",
       " ['nassau', 'Q2467', [[23]]],\n",
       " ['gabreski airport', 'Q5482369', [[23, 24]]],\n",
       " ['westhampton beach', 'Q3453197', [[26, 27]]],\n",
       " ['del rio international airport', 'Q1657383', [[11, 12, 13, 14]]],\n",
       " ['del rio, texas', 'Q970792', [[16, 17, 18, 19]]],\n",
       " ['la aurora international airport', 'Q765608', [[15, 16, 17, 18]]],\n",
       " ['guatemala city', 'Q1555', [[20, 21]]],\n",
       " ['ukww', 'Q4111595', [[10]]],\n",
       " ['vinnytsia', 'Q157144', [[15]]],\n",
       " ['false river regional airport', 'Q5432665', [[17, 18, 19, 20]]],\n",
       " ['new roads', 'Q2276773', [[9, 10]]],\n",
       " ['bach mai airfield', 'Q2886528', [[25, 26, 27]]],\n",
       " ['hanoi', 'Q1858', [[13]]],\n",
       " ['shenandoah valley regional airport', 'Q7494187', [[0, 1, 2, 3]]],\n",
       " ['staunton', 'Q502250', [[14]]],\n",
       " ['airport', 'Q3503051', [[16]]],\n",
       " ['long banga', 'Q6672234', [[4, 5]]],\n",
       " ['airport', 'Q12692021', [[6]]],\n",
       " ['breiðdalsvík', 'Q2924383', [[12]]],\n",
       " ['north melbourne station', 'Q7056082', [[15, 16, 17]]],\n",
       " ['west melbourne', 'Q12010545', [[12, 13]]],\n",
       " ['fertilia airport', 'Q1321390', [[27, 28]]],\n",
       " ['alghero', 'Q166282', [[14], [33]]],\n",
       " ['international airport', 'Q1148527', [[4, 5]]],\n",
       " ['ashgabat', 'Q23438', [[0]]],\n",
       " ['matecaña international airport', 'Q381688', [[8, 9, 10]]],\n",
       " ['pereira', 'Q51111', [[12]]],\n",
       " ['paf base shahbaz', 'Q3694521', [[19, 20, 21]]],\n",
       " ['jacobabad', 'Q1017696', [[23]]],\n",
       " ['waalhaven', 'Q2262149', [[7]]],\n",
       " ['rotterdam', 'Q34370', [[10]]],\n",
       " ['egsh', 'Q349673', [[8]]],\n",
       " ['norwich', 'Q130191', [[6]]],\n",
       " ['kuwait international airport', 'Q527157', [[10, 11, 12]]],\n",
       " ['kuwait city', 'Q35178', [[0, 1]]],\n",
       " ['santa monica airport', 'Q7419789', [[18, 19, 20]]],\n",
       " ['southern california', 'Q844837', [[22, 23]]],\n",
       " ['santiago vila airport', 'Q5242807', [[0, 1, 2]]],\n",
       " ['girardot', 'Q186193', [[9]]],\n",
       " ['kellogg aaf', 'Q7945760', [[15, 16]]],\n",
       " ['battle creek, michigan', 'Q810998', [[19, 20, 21, 22]]],\n",
       " ['bykovo airport', 'Q1432096', [[17, 18]]],\n",
       " ['moscow', 'Q649', [[7]]],\n",
       " ['ugolny airport', 'Q1843329', [[9, 10]]],\n",
       " ['anadyr', 'Q7978', [[12]]],\n",
       " ['knox county regional airport', 'Q6423552', [[27, 28, 29, 30]]],\n",
       " ['rockland', 'Q2078053', [[21]]],\n",
       " ['depati amir airport', 'Q1530683', [[7, 8, 9]]],\n",
       " ['pangkal pinang', 'Q8179', [[11, 12]]],\n",
       " ['carlos manuel de céspedes airport', 'Q3536540', [[0, 1, 2, 3, 4]]],\n",
       " ['bayamo', 'Q115382', [[13]]],\n",
       " ['the airport', 'Q532778', [[21, 22]]],\n",
       " ['dushanbe', 'Q9365', [[8], [24]]],\n",
       " ['halim perdanakusuma airbase', 'Q1032934', [[9, 10, 11]]],\n",
       " ['jakarta', 'Q3630', [[13]]],\n",
       " ['gino lisa airport', 'Q1431308', [[4, 5, 6]]],\n",
       " ['foggia', 'Q13464', [[8]]],\n",
       " ['los cerrillos airport', 'Q5659235', [[4, 5, 6]]],\n",
       " ['santiago', 'Q2887', [[8]]],\n",
       " ['santa maria airport', 'Q1432755', [[15, 16, 17]]],\n",
       " ['vila do porto', 'Q1003164', [[21, 22, 23]]],\n",
       " ['toussaint louverture international airport', 'Q794560', [[8, 9, 10, 11]]],\n",
       " ['port-au-prince', 'Q34261', [[13, 14, 15, 16, 17]]],\n",
       " ['red lion airport', 'Q7304523', [[29, 30, 31]]],\n",
       " ['vincentown', 'Q7932185', [[15]]],\n",
       " ['halfpenny green airport', 'Q3915261', [[4, 5, 6]]],\n",
       " ['wolverhampton', 'Q126269', [[11]]],\n",
       " ['savannah airstrip', 'Q17108392', [[9, 10]]],\n",
       " ['kihihi', 'Q6406018', [[12]]],\n",
       " ['caiari airport', 'Q3813497', [[0, 1]]],\n",
       " ['porto velho', 'Q172512', [[7, 8]]],\n",
       " ['newport news/williamsburg international airport',\n",
       "  'Q6586790',\n",
       "  [[9, 10, 11, 12, 13, 14]]],\n",
       " ['virginia peninsula', 'Q2553780', [[5, 6]]],\n",
       " ['moorabbin airport', 'Q1232433', [[12, 13]]],\n",
       " ['melbourne', 'Q3141', [[15]]],\n",
       " ['surigao airport', 'Q7646281', [[9, 10]]],\n",
       " ['surigao city', 'Q1019949', [[12, 13]]],\n",
       " ['pierre elliott trudeau international airport',\n",
       "  'Q736627',\n",
       "  [[19, 20, 21, 22, 23]]],\n",
       " ['montreal', 'Q340', [[18]]],\n",
       " ['ontario international airport', 'Q949831', [[22, 23, 24]]],\n",
       " ['ontario, california', 'Q488134', [[26, 27, 28]]],\n",
       " ['raaf williamtown', 'Q17570', [[0, 1]]],\n",
       " ['hunter region', 'Q1638164', [[27, 28]]],\n",
       " ['\"amerigo vespucci\" airport', 'Q707731', [[2, 3, 4, 5, 6]]],\n",
       " ['florence', 'Q2044', [[0]]],\n",
       " ['sanga-sanga airport', 'Q1321647', [[0, 1, 2, 3]]],\n",
       " ['bongao', 'Q155195', [[18]]],\n",
       " ['sir seretse khama international airport',\n",
       "  'Q1327949',\n",
       "  [[12, 13, 14, 15, 16]]],\n",
       " ['gaborone', 'Q3919', [[20]]],\n",
       " ['châlons vatry airport', 'Q1837108', [[0, 1, 2]]],\n",
       " ['châlons-en-champagne', 'Q47135', [[9, 10, 11, 12, 13]]],\n",
       " ['villa independencia airport', 'Q25037266', [[0, 1, 2]]],\n",
       " ['fray bentos', 'Q849835', [[4, 5]]],\n",
       " ['chabeuil airport', 'Q2875976', [[9, 10]]],\n",
       " ['valence', 'Q8848', [[7]]],\n",
       " ['jardines del rey airport', 'Q2895532', [[0, 1, 2, 3]]],\n",
       " ['cayo coco', 'Q1052012', [[11, 12]]],\n",
       " ['heart of georgia regional airport', 'Q14686649', [[1, 2, 3, 4, 5]]],\n",
       " ['eastman', 'Q1278280', [[12]]],\n",
       " ['macon county airport', 'Q6724853', [[0, 1, 2]]],\n",
       " ['macon county, north carolina', 'Q507575', [[9, 10, 11, 12, 13]]],\n",
       " ['iwd', 'Q3274027', [[13]]],\n",
       " ['ironwood', 'Q2002936', [[17]]],\n",
       " ['bajpe airport', 'Q290527', [[6, 7]]],\n",
       " ['mangalore', 'Q127041', [[4]]],\n",
       " ['state library station', 'Q29026643', [[0, 1, 2]]],\n",
       " ['melbourne cbd', 'Q6811747', [[19, 20]]],\n",
       " ['south bend international airport', 'Q7566309', [[0, 1, 2, 3]]],\n",
       " ['south bend, indiana', 'Q486877', [[5, 6, 7, 8]]],\n",
       " ['douglas–charles airport', 'Q652545', [[25, 26, 27, 28]]],\n",
       " ['roseau', 'Q36281', [[0]]],\n",
       " ['mcnary field', 'Q649827', [[9, 10]]],\n",
       " ['salem', 'Q43919', [[12]]],\n",
       " ['adisumarmo airport', 'Q283970', [[9, 10]]],\n",
       " ['surakarta', 'Q4803', [[12]]],\n",
       " ['renner field', 'Q3914081', [[4, 5]]],\n",
       " ['goodland', 'Q1931362', [[0], [12]]],\n",
       " ['josé celestino mutis airport', 'Q2902785', [[0, 1, 2, 3]]],\n",
       " ['bahía solano', 'Q1579457', [[10, 11]]],\n",
       " ['labo airport', 'Q6467125', [[2, 3]]],\n",
       " ['ozamiz', 'Q263837', [[0]]],\n",
       " ['prestwick airport', 'Q8992', [[16, 17]]],\n",
       " ['glasgow', 'Q4093', [[7]]],\n",
       " ['velana international airport', 'Q29104', [[19, 20, 21]]],\n",
       " ['malé', 'Q9347', [[23]]],\n",
       " ['owen roberts international airport', 'Q665948', [[0, 1, 2, 3]]],\n",
       " ['grand cayman', 'Q737765', [[9, 10]]],\n",
       " ['forquilhinha airport', 'Q959295', [[3, 4]]],\n",
       " ['criciúma', 'Q1439157', [[9]]],\n",
       " ['felts field', 'Q5442691', [[0, 1]]],\n",
       " ['spokane, washington', 'Q187805', [[7, 8, 9]]],\n",
       " ['diego aracena international airport', 'Q1431221', [[0, 1, 2, 3]]],\n",
       " ['iquique', 'Q14440', [[10]]],\n",
       " ['tolmachevo airport', 'Q1328849', [[6, 7]]],\n",
       " ['novosibirsk', 'Q883', [[4]]],\n",
       " ['los perales airport', 'Q25037254', [[0, 1, 2]]],\n",
       " ['bahía de caráquez', 'Q2749246', [[10, 11, 12]]],\n",
       " ['former airport', 'Q2876065', [[21, 22]]],\n",
       " ['santo domingo', 'Q34820', [[18, 19]]],\n",
       " ['airport', 'Q44553', [[10]]],\n",
       " ['benina', 'Q4888033', [[12]]],\n",
       " ['wallblake airport', 'Q1657604', [[18, 19]]],\n",
       " ['the valley', 'Q30994', [[4, 5]]],\n",
       " ['international airport', 'Q1432651', [[5, 6]]],\n",
       " ['rzeszów', 'Q598', [[0]]],\n",
       " ['morristown regional airport', 'Q3612341', [[19, 20, 21]]],\n",
       " ['morristown, tennessee', 'Q2330995', [[14, 15, 16]]],\n",
       " ['mohammed v international airport', 'Q955433', [[5, 6, 7, 8]]],\n",
       " ['casablanca', 'Q7903', [[4]]],\n",
       " ['manhattan regional airport', 'Q4272488', [[0, 1, 2]]],\n",
       " ['manhattan, kansas', 'Q856841', [[7, 8, 9]]],\n",
       " ['josé maría córdova international airport',\n",
       "  'Q535161',\n",
       "  [[11, 12, 13, 14, 15]]],\n",
       " ['medellín', 'Q48278', [[17]]],\n",
       " ['mojave air and space port', 'Q390522', [[18, 19, 20, 21, 22]]],\n",
       " ['mojave, california', 'Q1943133', [[24, 25, 26]]],\n",
       " ['porto airport', 'Q943743', [[6, 7]]],\n",
       " ['oporto', 'Q36433', [[15]]],\n",
       " ['rdu', 'Q1192962', [[6]]],\n",
       " ['raleigh', 'Q41087', [[0]]],\n",
       " ['flamingo international airport', 'Q1430982', [[13, 14, 15]]],\n",
       " ['bonaire', 'Q25396', [[21]]],\n",
       " ['general manuel serrano airport', 'Q2374029', [[10, 11, 12, 13]]],\n",
       " ['machala', 'Q215080', [[15]]],\n",
       " ['villa reynolds airport', 'Q7930472', [[0, 1, 2]]],\n",
       " ['villa mercedes', 'Q1756745', [[9, 10]]],\n",
       " ['branson airport', 'Q1430977', [[20, 21]]],\n",
       " ['branson, missouri', 'Q898857', [[23, 24, 25]]],\n",
       " ['buma airfield', 'Q30542', [[7, 8]]],\n",
       " ['kufra', 'Q172114', [[4]]],\n",
       " ['ahmad yani international airport', 'Q1457975', [[0, 1, 2, 3]]],\n",
       " ['semarang', 'Q11025', [[8]]],\n",
       " ['gimhae international airport', 'Q483223', [[13, 14, 15]]],\n",
       " ['busan', 'Q16520', [[17]]],\n",
       " ['opis', 'Q1190316', [[12]]],\n",
       " ['islamabad', 'Q1362', [[9]]],\n",
       " ['la nubia airport', 'Q1936891', [[6, 7, 8]]],\n",
       " ['manizales', 'Q235190', [[0]]],\n",
       " ['former baiyun airport', 'Q5613723', [[25, 26, 27]]],\n",
       " ['guangzhou', 'Q16572', [[18]]],\n",
       " ['bandaranaike international airport', 'Q60900', [[19, 20, 21]]],\n",
       " ['colombo', 'Q35381', [[6]]],\n",
       " ['new chitose airport', 'Q908296', [[6, 7, 8]]],\n",
       " ['sapporo', 'Q37951', [[10]]],\n",
       " ['international airport', 'Q665365', [[3, 4]]],\n",
       " ['bremen', 'Q24879', [[0]]],\n",
       " ['darke county airport', 'Q1709059', [[3, 4, 5]]],\n",
       " ['versailles', 'Q2538368', [[11]]],\n",
       " ['melbourne international airport', 'Q652030', [[15, 16, 17]]],\n",
       " ['melbourne, florida', 'Q949779', [[19, 20, 21]]],\n",
       " ['phoenix goodyear airport', 'Q7186890', [[0, 1, 2]]],\n",
       " ['phoenix, arizona', 'Q16556', [[23, 24, 25]]],\n",
       " ['alcides fernández airport', 'Q1936968', [[0, 1, 2]]],\n",
       " ['acandí', 'Q1575935', [[15]]],\n",
       " ['columbus afb', 'Q1657653', [[14, 15]]],\n",
       " ['columbus, mississippi', 'Q985648', [[17, 18, 19]]],\n",
       " ['frans sales lega airport', 'Q12474050', [[0, 1, 2, 3]]],\n",
       " ['ruteng', 'Q1708604', [[5], [12]]],\n",
       " ['pattimura airport', 'Q2232506', [[0, 1]]],\n",
       " ['ambon', 'Q18970', [[7]]],\n",
       " ['el mirador airport', 'Q12692557', [[0, 1, 2]]],\n",
       " ['puerto varas', 'Q51596', [[12, 13]]],\n",
       " ['gansner field', 'Q3274627', [[0, 1]]],\n",
       " ['quincy', 'Q1979185', [[9]]],\n",
       " ['chennault international airport', 'Q1708583', [[10, 11, 12]]],\n",
       " ['lake charles, louisiana', 'Q864106', [[5, 6, 7, 8]]],\n",
       " ['cherif al idrissi airport', 'Q1370928', [[3, 4, 5, 6]]],\n",
       " ['al hoceima', 'Q310350', [[0, 1]]],\n",
       " ['air', 'Q17607', [[15]]],\n",
       " ['bathurst island', 'Q810814', [[0, 1]]],\n",
       " ['fatmawati soekarno airport', 'Q1880024', [[0, 1, 2]]],\n",
       " ['bengkulu', 'Q8042', [[4]]],\n",
       " ['la esperanza airport', 'Q16894649', [[0, 1, 2]]],\n",
       " ['marchigüe', 'Q16921', [[11]]],\n",
       " ['bindlacher berg airport', 'Q531596', [[0, 1, 2]]],\n",
       " ['bayreuth', 'Q3923', [[7], [28]]],\n",
       " ['gimpo airport', 'Q482493', [[11, 12]]],\n",
       " ['seoul', 'Q8684', [[9]]],\n",
       " ['el cardal airport', 'Q12692544', [[0, 1, 2]]],\n",
       " ['río bueno', 'Q56126', [[11, 12]]],\n",
       " ['enid woodring regional airport', 'Q5378895', [[14, 15, 16, 17]]],\n",
       " ['enid, oklahoma', 'Q984361', [[0, 1, 2]]],\n",
       " ['brighton city airport', 'Q735756', [[0, 1, 2]]],\n",
       " ['west sussex', 'Q23287', [[20, 21]]],\n",
       " ['nauru international airport', 'Q534251', [[8, 9, 10]]],\n",
       " ['yaren district', 'Q31026', [[12, 13]]],\n",
       " ['will rogers field', 'Q1499872', [[21, 22, 23]]],\n",
       " ['oklahoma city', 'Q34863', [[25, 26]]],\n",
       " ['ramenskoye airport', 'Q2388744', [[19, 20]]],\n",
       " ['moscow', 'Q649', [[24]]],\n",
       " ['mariscal sucre international airport', 'Q7376063', [[7, 8, 9, 10]]],\n",
       " ['quito', 'Q2900', [[14]]],\n",
       " ['wilson airport', 'Q1049288', [[15, 16]]],\n",
       " ['nairobi', 'Q3870', [[18]]],\n",
       " ['juhu aerodrome', 'Q674812', [[14, 15]]],\n",
       " ['mumbai', 'Q1156', [[17]]],\n",
       " ['brandon municipal airport', 'Q3502284', [[12, 13, 14]]],\n",
       " ['brandon, manitoba', 'Q61432', [[16, 17, 18]]],\n",
       " ['daugherty field', 'Q1431943', [[15, 16]]],\n",
       " ['long beach', 'Q16739', [[9, 10]]],\n",
       " ['le puy – loudes airport', 'Q2876024', [[8, 9, 10, 11, 12]]],\n",
       " ['le puy-en-velay', 'Q184359', [[14, 15, 16, 17, 18, 19]]],\n",
       " ['biggin hill', 'Q1431935', [[1, 2]]],\n",
       " ['london', 'Q84', [[12]]],\n",
       " ['sanganer airport', 'Q572387', [[3, 4]]],\n",
       " ['jaipur', 'Q66485', [[6]]],\n",
       " ['los pozos airport', 'Q28163860', [[0, 1, 2]]],\n",
       " ['san gil', 'Q1294128', [[10, 11]]],\n",
       " ['short airstrip', 'Q1653962', [[8, 9]]],\n",
       " ['denis island', 'Q28920', [[0, 1]]],\n",
       " ['jones field', 'Q2902318', [[5, 6]]],\n",
       " ['bonham, texas', 'Q144856', [[8, 9, 10]]],\n",
       " ['alférez fap alfredo vladimir sara bauer airport',\n",
       "  'Q4723923',\n",
       "  [[13, 14, 15, 16, 17, 18, 19]]],\n",
       " ['andoas', 'Q3649471', [[21]]],\n",
       " ['mokuti lodge airport', 'Q17090518', [[0, 1, 2]]],\n",
       " ['etosha national park', 'Q675633', [[12, 13, 14]]],\n",
       " ['meadows field airport', 'Q652265', [[9, 10, 11]]],\n",
       " ['bakersfield', 'Q49256', [[7]]],\n",
       " ['balmaceda airport', 'Q2901027', [[8, 9]]],\n",
       " ['coyhaique', 'Q3810', [[13]]],\n",
       " ['airport', 'Q1432275', [[4]]],\n",
       " ['ouarzazate', 'Q505208', [[0]]],\n",
       " ['yvr', 'Q321224', [[33]]],\n",
       " ['vancouver', 'Q24639', [[26]]],\n",
       " ['mahovljani', 'Q1430945', [[21]]],\n",
       " ['banja luka', 'Q131127', [[14, 15]]],\n",
       " ['ngari gunsa airport', 'Q1432172', [[0, 1, 2]]],\n",
       " ['shiquanhe', 'Q2279283', [[8]]],\n",
       " ['alula aba nega airport', 'Q4737322', [[5, 6, 7, 8]]],\n",
       " ['mekelle', 'Q332319', [[3]]],\n",
       " ['manas international airport', 'Q32997', [[21, 22, 23]]],\n",
       " ['bishkek', 'Q9361', [[25]]],\n",
       " ['hagerstown regional airport', 'Q3914582', [[9, 10, 11]]],\n",
       " ['hagerstown, maryland', 'Q755559', [[13, 14, 15]]],\n",
       " ['smolny (later rzhevka) airport', 'Q2383453', [[11, 12, 13, 14, 15, 16]]],\n",
       " ['leningrad', 'Q656', [[18]]],\n",
       " ['eloy alfaro international airport', 'Q1444671', [[1, 2, 3, 4]]],\n",
       " ['manta', 'Q990738', [[6]]],\n",
       " ['capital international airport', 'Q32190', [[17, 18, 19]]],\n",
       " ['beijing', 'Q956', [[15]]],\n",
       " ['juwata international airport', 'Q2233018', [[19, 20, 21]]],\n",
       " ['tarakan', 'Q14501', [[23]]],\n",
       " ['king mswati iii international airport', 'Q2285574', [[9, 10, 11, 12, 13]]],\n",
       " ['manzini', 'Q495730', [[15]]],\n",
       " ['sultan mahmud airport', 'Q2233067', [[4, 5, 6]]],\n",
       " ['terengganu', 'Q189701', [[0]]],\n",
       " ['international airport', 'Q123222', [[2, 3]]],\n",
       " ['marsa alam', 'Q1001901', [[5, 6]]],\n",
       " ['tit mellil airport', 'Q969543', [[1, 2, 3]]],\n",
       " ['casablanca', 'Q7903', [[0], [18]]],\n",
       " ['stuart powell field', 'Q7626968', [[0, 1, 2]]],\n",
       " ['danville', 'Q988923', [[17]]],\n",
       " ['sandra scabini airport', 'Q16898872', [[0, 1, 2]]],\n",
       " ['punta arenas', 'Q51599', [[11, 12]]],\n",
       " ['airport', 'Q12692416', [[4]]],\n",
       " ['dekese', 'Q3021388', [[0]]],\n",
       " ['linnahall', 'Q1810907', [[16]]],\n",
       " ['tallinn', 'Q1770', [[18]]],\n",
       " ['floyd bennett memorial airport', 'Q5462388', [[0, 1, 2, 3]]],\n",
       " ['glens falls', 'Q1379621', [[29, 30]]],\n",
       " ['zaventem airport', 'Q28934', [[22, 23]]],\n",
       " ['brussels', 'Q240', [[20]]],\n",
       " ['vanguardia airport', 'Q6465644', [[1, 2]]],\n",
       " ['villavicencio', 'Q749224', [[10]]],\n",
       " ['los angeles international airport', 'Q8731', [[0, 1, 2, 3]]],\n",
       " ['greater los angeles area', 'Q1050826', [[27, 28, 29, 30]]],\n",
       " ['seymour airport', 'Q1186422', [[11, 12]]],\n",
       " ['baltra island', 'Q200772', [[6, 7]]],\n",
       " ['yazoo county airport', 'Q8050637', [[0, 1, 2]]],\n",
       " ['yazoo city', 'Q983832', [[8, 9]]],\n",
       " ['bonriki international airport', 'Q522496', [[12, 13, 14]]],\n",
       " ['south tarawa', 'Q131233', [[4, 5]]],\n",
       " ['new international airport', 'Q18014849', [[9, 10, 11]]],\n",
       " ['mexico city', 'Q1489', [[6, 7]]],\n",
       " ['airport', 'Q1708732', [[2]]],\n",
       " ['chifeng', 'Q570829', [[0]]],\n",
       " ['turners falls airport', 'Q6588260', [[6, 7, 8]]],\n",
       " ['montague', 'Q33180', [[10]]],\n",
       " ['red lake airport', 'Q3912791', [[17, 18, 19]]],\n",
       " ['red lake, ontario', 'Q1018643', [[9, 10, 11, 12]]],\n",
       " ['ujae airport', 'Q4381230', [[0, 1]]],\n",
       " ['ujae atoll', 'Q697802', [[10, 11]]],\n",
       " ['le pontreau airport', 'Q2408589', [[1, 2, 3]]],\n",
       " ['cholet', 'Q185066', [[0], [25]]],\n",
       " ['an airport', 'Q1431605', [[13, 14]]],\n",
       " ['jomsom', 'Q1702717', [[26]]],\n",
       " ['bush airport–snyder field', 'Q3913448', [[11, 12, 13, 14, 15]]],\n",
       " ['athens', 'Q755420', [[21]]],\n",
       " ['henderson airfield', 'Q859876', [[16, 17]]],\n",
       " ['honiara', 'Q40921', [[9]]],\n",
       " ['svalbard airport, longyear', 'Q59633', [[29, 30, 31, 32]]],\n",
       " ['longyearbyen', 'Q25923', [[27]]],\n",
       " ['houssen airport', 'Q1431102', [[2, 3]]],\n",
       " ['colmar', 'Q130994', [[0], [14]]],\n",
       " ['isla picton airport', 'Q16892756', [[0, 1, 2]]],\n",
       " ['quinta de tilcoco', 'Q56112', [[11, 12, 13]]],\n",
       " ['wattay international airport', 'Q221279', [[13, 14, 15]]],\n",
       " ['vientiane', 'Q9326', [[11]]],\n",
       " ['luqa airport', 'Q672289', [[9, 10]]],\n",
       " ['valletta', 'Q23800', [[19]]],\n",
       " ['mbs international airport', 'Q652272', [[29, 30, 31]]],\n",
       " ['saginaw', 'Q719', [[12]]],\n",
       " ['ford airport', 'Q5467646', [[9, 10]]],\n",
       " ['dearborn, michigan', 'Q430464', [[12, 13, 14]]],\n",
       " ['clinton county airport', 'Q1655515', [[26, 27, 28]]],\n",
       " ['plattsburgh', 'Q998669', [[6]]],\n",
       " ['murtala muhammed international airport', 'Q1043631', [[0, 1, 2, 3]]],\n",
       " ['ikeja', 'Q1024647', [[13]]],\n",
       " ['pierrefonds airport', 'Q17431', [[0, 1]]],\n",
       " ['saint-pierre', 'Q249884', [[12, 13, 14]]],\n",
       " ['tulihal airport', 'Q2247550', [[0, 1]]],\n",
       " ['imphal', 'Q208097', [[5]]],\n",
       " ['general lucio blanco international airport',\n",
       "  'Q2232580',\n",
       "  [[9, 10, 11, 12, 13]]],\n",
       " ['reynosa', 'Q738303', [[15]]],\n",
       " ['niagara falls international airport', 'Q1984520', [[23, 24, 25, 26]]],\n",
       " ['niagara falls, new york', 'Q128133', [[10, 11, 12, 13, 14]]],\n",
       " ['mactan-cebu international airport', 'Q1048704', [[16, 17, 18, 19, 20]]],\n",
       " ['metro cebu', 'Q1075343', [[26, 27]]],\n",
       " ['rwj airpark', 'Q7278116', [[3, 4]]],\n",
       " ['beach city', 'Q812835', [[17, 18]]],\n",
       " ['china bay', 'Q7390732', [[21, 22]]],\n",
       " ['trincomalee', 'Q323873', [[7], [24]]],\n",
       " ['paramillo airport', 'Q5685452', [[0, 1]]],\n",
       " ['san cristóbal', 'Q820235', [[6, 7]]],\n",
       " ['kololo airstrip', 'Q10853684', [[12, 13]]],\n",
       " ['kampala', 'Q3894', [[20]]],\n",
       " ['rtm', 'Q656807', [[3]]],\n",
       " ['rotterdam', 'Q34370', [[19]]],\n",
       " ['abbotsford international airport', 'Q969671', [[9, 10, 11]]],\n",
       " ['abbotsford, british columbia', 'Q271730', [[14, 15, 16, 17]]],\n",
       " ['qiemo yudu airport', 'Q28127825', [[4, 5, 6]]],\n",
       " ['qiemo town', 'Q3360588', [[19, 20]]],\n",
       " ['airport, opened in january 2017', 'Q28797312', [[5, 6, 7, 8, 9, 10]]],\n",
       " ['ambrolauri', 'Q456842', [[0]]],\n",
       " ['gustavo rizo airport', 'Q3646815', [[8, 9, 10]]],\n",
       " ['baracoa', 'Q94775', [[12]]],\n",
       " ['maio airport', 'Q2011846', [[27, 28]]],\n",
       " ['cidade do maio', 'Q489776', [[6, 7, 8]]],\n",
       " ['inca manco cápac international airport', 'Q1286295', [[0, 1, 2, 3, 4]]],\n",
       " ['juliaca', 'Q696074', [[15]]],\n",
       " ['swami vivekananda airport', 'Q1595087', [[8, 9, 10]]],\n",
       " ['raipur', 'Q372773', [[12]]],\n",
       " ['pochentong airport', 'Q1054163', [[19, 20]]],\n",
       " ['phnom penh', 'Q1850', [[16, 17]]],\n",
       " ['swan island municipal airport', 'Q16900962', [[1, 2, 3, 4]]],\n",
       " ['portland, oregon', 'Q6106', [[20, 21, 22]]],\n",
       " ['woja', 'Q8029103', [[26]]],\n",
       " ['ailinglaplap atoll', 'Q405165', [[28, 29]]],\n",
       " ['pegasus field', 'Q3374224', [[14, 15]]],\n",
       " ['mcmurdo station', 'Q498627', [[1, 2]]],\n",
       " ['harriman-and-west airport', 'Q3887968', [[16, 17, 18, 19, 20, 21]]],\n",
       " ['north adams', 'Q49185', [[7, 8]]],\n",
       " ['jean lesage airport', 'Q794549', [[17, 18, 19]]],\n",
       " ['quebec city', 'Q2145', [[21, 22]]],\n",
       " ['montichiari airport', 'Q1430989', [[13, 14]]],\n",
       " ['brescia', 'Q6221', [[0], [25]]],\n",
       " ...]"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "heads"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "national-front",
   "metadata": {},
   "source": [
    "There appears to be one token for each word in the entitiy, not sure what the meaning is though"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "willing-orange",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
